home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / mgr / sparcmgr / demo1.zoo / demo / msg / Makefile < prev    next >
Encoding:
Makefile  |  1989-01-25  |  1.5 KB  |  64 lines

  1. #    $Header: Makefile,v 4.2 88/08/29 07:47:35 sau Exp $
  2. #    $Source: /tmp/mgrsrc/demo/msg/RCS/Makefile,v $
  3.  
  4. #                        Copyright (c) 1987 Bellcore
  5. #                            All Rights Reserved
  6. #       Permission is granted to copy or use this program, EXCEPT that it
  7. #       may not be sold for profit, the copyright notice must be reproduced
  8. #       on copies, and credit should be given to Bellcore where it is due.
  9. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  10.  
  11. # makefile for message passing demo test routines
  12.  
  13. START= .
  14. LIB= ../../lib/libmgr.a
  15. INCL= ../../lib
  16. CFLAGS=-g -I$(INCL)
  17.  
  18. CFILES= do.c client.c send.c menus.c
  19. HFILES=    do.h
  20. OTHER=  Makefile README start do_file do_ls do_more do_vi 
  21.  
  22. ALL =    do client menus send alias
  23.  
  24. all small:    $(ALL)
  25.  
  26. fast:        $(CFILES)
  27.         cc -c $(CFLAGS) $(CFILES)
  28.         make all
  29.  
  30. client.o do.o:    do.h $(INCL)/term.h
  31.  
  32. client:        client.o $(LIB)
  33.         cc $(CFLAGS) -o client client.o $(LIB)
  34.  
  35. do:        do.o $(LIB)
  36.         cc $(CFLAGS) -o do do.o $(LIB)
  37.  
  38. menus:        menus.o $(LIB)
  39.         cc $(CFLAGS) -o menus menus.o $(LIB)
  40.  
  41. send:        send.o $(LIB)
  42.         cc $(CFLAGS) -o send send.o $(LIB)
  43.  
  44. alias:
  45.         echo "alias cd 'chdir \!*;menus \`pwd\`'" >  alias
  46.         echo "echo ',9esend %w\r'"             >> alias
  47.         echo "set path=(`pwd` \$$path)"             >> alias
  48.  
  49. clean:        
  50.         rm -f *.o
  51.  
  52. clobber:        
  53.         rm -f $(ALL)
  54.  
  55. install smallinstall:
  56.  
  57. list:
  58.         @for i in ${CFILES} ${HFILES} ${OTHER}; do \
  59.              echo "${START}/$$i"; \
  60.         done    
  61.  
  62. cpio:
  63.         make -s list | cpio -ocv > ${CPIO}
  64.